package com.hmall.api.trade;


import com.hmall.api.trade.dto.OrderDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author Hang
 */
@FeignClient(name = "trade-service",path = "/orders")
public interface TradeClient {

    @PutMapping(path = "/upDateById")
    void upDateById(@RequestBody OrderDto order);

}
